.button-default
{
    padding: 3px 20px 4px 20px;
    line-height: 16px;
    margin-left: 8px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border: 1px solid #9c9c9c; /* Fallback style */
    border: 1px solid rgba(0, 0, 0, 0.3);            

    text-shadow: 0 1px 0 rgba(0,0,0,0.4);

    box-shadow: 0 0 .05em rgba(0,0,0,0.4);
    -moz-box-shadow: 0 0 .05em rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 0 .05em rgba(0,0,0,0.4);
    /* The background pattern */

    background-image: -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, rgba(0, 0, 0, 0.05)), color-stop(.25, transparent), to(transparent)),
                      -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(0, 0, 0, 0.05)), color-stop(.25, transparent), to(transparent)),
                      -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.75, transparent), color-stop(.75, rgba(0, 0, 0, 0.05))),
                      -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.75, transparent), color-stop(.75, rgba(0, 0, 0, 0.05)));
    background-image: -moz-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%, transparent),
                      -moz-linear-gradient(-45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%, transparent),
                      -moz-linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.05) 75%),
                      -moz-linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.05) 75%);

    /* Pattern settings */

    -moz-background-size: 3px 3px;
    -webkit-background-size: 3px 3px;
    background-size: 3px 3px;
}

.button-default, .button-default span
{
    -moz-border-radius: .3em;
    border-radius: .3em;
}

.button-default span
{
/*    border-top: 1px solid #fff;  Fallback style 
    border-top: 1px solid rgba(255, 255, 255, 0.5);*/
    display: block;
    

    
}

.button-default:hover
{
    box-shadow: 0 0 .1em rgba(0,0,0,0.4);
    -moz-box-shadow: 0 0 .1em rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 0 .1em rgba(0,0,0,0.4);
}

.button-default:active
{
    /* When pressed, move it down 1px */
    position: relative;
    top: 1px;
}
.button-blue
{
    margin-left: 8px;
    padding: 3px 20px 4px 20px;
    line-height: 16px;
    background: #4477a1;
    background: -webkit-gradient(linear, left top, left bottom, from(#81a8cb), to(#4477a1) );
    background: -moz-linear-gradient(-90deg, #81a8cb, #4477a1);
    filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#81a8cb', endColorstr='#4477a1');
}

.button-blue:hover
{
    background: #81a8cb;
    background: -webkit-gradient(linear, left top, left bottom, from(#4477a1), to(#81a8cb) );
    background: -moz-linear-gradient(-90deg, #4477a1, #81a8cb);
    filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4477a1', endColorstr='#81a8cb');
}

.button-blue:active
{
    margin-top: 1px;
    background: #4477a1;
}
._btnfix{
    padding: 3px 20px 4px 20px;
    line-height: 16px;
    margin: 4px 8px;}
._buttoni,._buttonr        {                        
    text-decoration: none;            
    font: bold 1.5em 'Trebuchet MS',Arial, Helvetica; /*Change the em value to scale the button*/            
    display: inline-block;            
    text-align: center;            
    color: #fff;                        
/*    border: 1px solid #9c9c9c;  Fallback style             
    border: 1px solid rgba(0, 0, 0, 0.3);                                    */
    text-shadow: 0 1px 0 rgba(0,0,0,0.4);                        
    box-shadow: 0 0 .05em rgba(0,0,0,0.4);            
    -moz-box-shadow: 0 0 .05em rgba(0,0,0,0.4);            
    -webkit-box-shadow: 0 0 .05em rgba(0,0,0,0.4);                    
    padding: 4px 20px 4px 20px;
    line-height: 16px;
    margin:0px 8px;
    -webkit-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,255,255,0.7);
}
._buttoni:active,._buttonr:active        {
    position: relative;
    top:1px;
} 
._buttoni, ._buttoni span        {            -moz-border-radius: .3em;            border-radius: .3em;        }                
._buttoni span,._buttonr span        {            
    display: block;            
/*    padding: 0.5em 2.5em;                         The background pattern                         */
    }        
._buttoni:hover,._buttonr:hover        {            
    box-shadow: 0 0 .1em rgba(0,0,0,0.4);            
    -moz-box-shadow: 0 0 .1em rgba(0,0,0,0.4);            
    -webkit-box-shadow:
		0px 1px 3px rgba(000,000,255,0.5),
		inset 0px 0px 1px rgba(255,255,255,0.7);      
}
/*._buttoni:active        {             When pressed, move it down 1px             
    position: relative;            top: 1px;        }                ----------------------------                */
._button-khaki        {            background: #A2B598;            background: -webkit-gradient(linear, left top, left bottom, from(#BDD1B4), to(#A2B598) );            background:-moz-linear-gradient(-90deg, #BDD1B4, #A2B598);            filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#BDD1B4', EndColorStr='#A2B598');                }                
._button-khaki:hover        {                       background: #BDD1B4;            background: -webkit-gradient(linear, left top, left bottom, from(#A2B598), to(#BDD1B4) );            background: -moz-linear-gradient(-90deg, #A2B598, #BDD1B4);            filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#A2B598', EndColorStr='#BDD1B4');        }                
._button-khaki:active        {            background: #A2B598;        }                /*----------------------------*/                        
._button-blue        {            background: #4477a1;            background: -webkit-gradient(linear, left top, left bottom, from(#81a8cb), to(#4477a1) );            background: -moz-linear-gradient(-90deg, #81a8cb, #4477a1);            filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#81a8cb', endColorstr='#4477a1');        }                
._button-blue:hover        {            background: #81a8cb;            background: -webkit-gradient(linear, left top, left bottom, from(#4477a1), to(#81a8cb) );            background: -moz-linear-gradient(-90deg, #4477a1, #81a8cb);            filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4477a1', endColorstr='#81a8cb');                    }                
._button-blue:active        {            background: #4477a1;        }                /*----------------------------*/                
._button-brown        {            background: #8f3714;            background: -webkit-gradient(linear, left top, left bottom, from(#bf6f50), to(#8f3714) );            background: -moz-linear-gradient(-90deg, #bf6f50, #8f3714);            filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#bf6f50', EndColorStr='#8f3714');        }                
._button-brown:hover        {            background: #bf6f50;            background: -webkit-gradient(linear, left top, left bottom, from(#8f3714), to(#bf6f50) );            background: -moz-linear-gradient(-90deg, #8f3714, #bf6f50);            filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#8f3714', EndColorStr='#bf6f50');        }        
._button-brown:active        {            background: #8f3714;        }                /*----------------------------*/                
._button-green        {            background: #428739;            background: -webkit-gradient(linear, left top, left bottom, from(#c8dd95), to(#428739) );            background: -moz-linear-gradient(-90deg, #c8dd95, #428739);            filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#c8dd95', EndColorStr='#428739');        }                
._button-green:hover        {            background: #c8dd95;            background: -webkit-gradient(linear, left top, left bottom, from(#428739), to(#c8dd95) );            background: -moz-linear-gradient(-90deg, #428739, #c8dd95);            filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#428739', EndColorStr='#c8dd95');        }                
._button-green:active        {            background: #428739;        }                /*----------------------------*/                
._button-red        {            background: #D82741;            background: -webkit-gradient(linear, left top, left bottom, from(#E84B6E), to(#D82741) );            background: -moz-linear-gradient(-90deg, #E84B6E, #D82741);            filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#E84B6E', EndColorStr='#D82741');        }        
._button-red:hover        {            background: #E84B6E;            background: -webkit-gradient(linear, left top, left bottom, from(#D82741), to(#E84B6E) );            background: -moz-linear-gradient(-90deg, #D82741, #E84B6E);            filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#D82741', EndColorStr='#E84B6E');        }                
._button-red:active        {            background: #D82741;        }        /*----------------------------*/                
._button-purple        {            background: #6F50E7;            background: -webkit-gradient(linear, left top, left bottom, from(#B8A9F3), to(#6F50E7) );            background: -moz-linear-gradient(-90deg, #B8A9F3, #6F50E7);            filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#B8A9F3', EndColorStr='#6F50E7');        }                
._button-purple:hover        {            background: #B8A9F3;            background: -webkit-gradient(linear, left top, left bottom, from(#6F50E7), to(#B8A9F3) );            background: -moz-linear-gradient(-90deg, #6F50E7, #B8A9F3);            filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#6F50E7', EndColorStr='#B8A9F3');        }                
._button-purple:active        {            background: #6F50E7;        }        /*----------------------------*/                
._button-black        {            background: #141414;            background: -webkit-gradient(linear, left top, left bottom, from(#656565), to(#141414) );            background: -moz-linear-gradient(-90deg, #656565, #141414);            filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#656565', EndColorStr='#141414');        }                
._button-black:hover        {            background: #656565;            background: -webkit-gradient(linear, left top, left bottom, from(#141414), to(#656565) );            background: -moz-linear-gradient(-90deg, #141414, #656565);            filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#141414', EndColorStr='#656565');        }                
._button-black:active        {            background: #141414;        }                /*----------------------------*/                
._button-orange        {            background: #f09c15;            background: -webkit-gradient(linear, left top, left bottom, from(#f8c939), to(#f09c15) );            background: -moz-linear-gradient(-90deg, #f8c939, #f09c15);            filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#f8c939', EndColorStr='#f09c15');        }                
._button-orange:hover        {            background: #f8c939;            background: -webkit-gradient(linear, left top, left bottom, from(#f09c15), to(#f8c939) );            background: -moz-linear-gradient(-90deg, #f09c15, #f8c939);            filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#f09c15', EndColorStr='#f8c939');        }                
._button-orange:active        {            background: #f09c15;        }                /*----------------------------*/                
._button-silver        {            background: #c5c5c5;            background: -webkit-gradient(linear, left top, left bottom, from(#eaeaea), to(#c5c5c5) );            background: -moz-linear-gradient(-90deg, #eaeaea, #c5c5c5);            filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#eaeaea', EndColorStr='#c5c5c5');        }                
._button-silver:hover        {            background: #eaeaea;            background: -webkit-gradient(linear, left top, left bottom, from(#c5c5c5), to(#eaeaea) );            background: -moz-linear-gradient(-90deg, #c5c5c5, #eaeaea);            filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#c5c5c5', EndColorStr='#eaeaea');        }                
._button-silver:active        {            background: #c5c5c5;        }





/* button 
---------------------------------------------- */
.button {
	display: inline-block;
	zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
	*display: inline;
	vertical-align: baseline;
	margin: 3px 4px 4px 4px;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	padding: 4px 20px;
        line-height:16px;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
/*	-webkit-border-radius: .5em; 
	-moz-border-radius: .5em;
	border-radius: .5em;
        border-radius: 15px;*/
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
        behavior: url(../lib.scc/ie-css3.htc);
}
.button:hover {
	text-decoration: none;
}
.button:active {
        
	position: relative;
	top: 1px;
}

.bigrounded {
	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;
	border-radius: 2em;
}
.medium {
	font-size: 12px;
	padding: .4em 1.5em .42em;
}
.small {
	font-size: 11px;
	padding: .2em 1em .275em;
}

/* color styles 
---------------------------------------------- */

/* black */
.black {
	color: #d7d7d7;
	border: solid 1px #333;
	background: #333;
	background: -webkit-gradient(linear, left top, left bottom, from(#666), to(#000));
	background: -moz-linear-gradient(top,  #666,  #000);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#666666', endColorstr='#000000');
}
.black:hover {
	background: #000;
	background: -webkit-gradient(linear, left top, left bottom, from(#444), to(#000));
	background: -moz-linear-gradient(top,  #444,  #000);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#444444', endColorstr='#000000');
}
.black:active {
	color: #666;
	background: -webkit-gradient(linear, left top, left bottom, from(#000), to(#444));
	background: -moz-linear-gradient(top,  #000,  #444);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#666666');
}

/* gray */
.gray {
	color: #e9e9e9;
	border: solid 1px #555;
	background: #6e6e6e;
	background: -webkit-gradient(linear, left top, left bottom, from(#888), to(#575757));
	background: -moz-linear-gradient(top,  #888,  #575757);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#888888', endColorstr='#575757');
}
.gray:hover {
	background: #616161;
	background: -webkit-gradient(linear, left top, left bottom, from(#757575), to(#4b4b4b));
	background: -moz-linear-gradient(top,  #757575,  #4b4b4b);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#757575', endColorstr='#4b4b4b');
}
.gray:active {
	color: #afafaf;
	background: -webkit-gradient(linear, left top, left bottom, from(#575757), to(#888));
	background: -moz-linear-gradient(top,  #575757,  #888);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#575757', endColorstr='#888888');
}

/* white */
.white {
	color: #606060;
	border: solid 1px #b7b7b7;
	background: #fff;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));
	background: -moz-linear-gradient(top,  #fff,  #ededed);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed');
}
.white:hover {
	background: #ededed;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#dcdcdc));
	background: -moz-linear-gradient(top,  #fff,  #dcdcdc);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dcdcdc');
}
.white:active {
	color: #999;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff));
	background: -moz-linear-gradient(top,  #ededed,  #fff);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#ffffff');
}

/* orange */
.orange {
	color: #fef4e9;
	border: solid 1px #da7c0c;
	background: #f78d1d;
	background: -webkit-gradient(linear, left top, left bottom, from(#faa51a), to(#f47a20));
	background: -moz-linear-gradient(top,  #faa51a,  #f47a20);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#faa51a', endColorstr='#f47a20');
}
.orange:hover {
	background: #f47c20;
	background: -webkit-gradient(linear, left top, left bottom, from(#f88e11), to(#f06015));
	background: -moz-linear-gradient(top,  #f88e11,  #f06015);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f88e11', endColorstr='#f06015');
}
.orange:active {
	color: #fcd3a5;
	background: -webkit-gradient(linear, left top, left bottom, from(#f47a20), to(#faa51a));
	background: -moz-linear-gradient(top,  #f47a20,  #faa51a);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f47a20', endColorstr='#faa51a');
}

/* red */
.red {
	color: #faddde;
	border: solid 1px #980c10;
	background: #d81b21;
	background: -webkit-gradient(linear, left top, left bottom, from(#ed1c24), to(#aa1317));
	background: -moz-linear-gradient(top,  #ed1c24,  #aa1317);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ed1c24', endColorstr='#aa1317');
}
.red:hover {
	background: #b61318;
	background: -webkit-gradient(linear, left top, left bottom, from(#c9151b), to(#a11115));
	background: -moz-linear-gradient(top,  #c9151b,  #a11115);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#c9151b', endColorstr='#a11115');
}
.red:active {
	color: #de898c;
	background: -webkit-gradient(linear, left top, left bottom, from(#aa1317), to(#ed1c24));
	background: -moz-linear-gradient(top,  #aa1317,  #ed1c24);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#aa1317', endColorstr='#ed1c24');
}

/* blue */
.blue {
	color: #d9eef7;
	border: solid 1px #0076a3;
	background: #0095cd;
	background: -webkit-gradient(linear, left top, left bottom, from(#00adee), to(#0078a5));
	background: -moz-linear-gradient(top,  #00adee,  #0078a5);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#00adee', endColorstr='#0078a5');
}
.blue:hover {
	background: #007ead;
	background: -webkit-gradient(linear, left top, left bottom, from(#0095cc), to(#00678e));
	background: -moz-linear-gradient(top,  #0095cc,  #00678e);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#0095cc', endColorstr='#00678e');
}
.blue:active {
	color: #80bed6;
	background: -webkit-gradient(linear, left top, left bottom, from(#0078a5), to(#00adee));
	background: -moz-linear-gradient(top,  #0078a5,  #00adee);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#0078a5', endColorstr='#00adee');
}

/* rosy */
.rosy {
	color: #fae7e9;
	border: solid 1px #b73948;
	background: #da5867;
	background: -webkit-gradient(linear, left top, left bottom, from(#f16c7c), to(#bf404f));
	background: -moz-linear-gradient(top,  #f16c7c,  #bf404f);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f16c7c', endColorstr='#bf404f');
}
.rosy:hover {
	background: #ba4b58;
	background: -webkit-gradient(linear, left top, left bottom, from(#cf5d6a), to(#a53845));
	background: -moz-linear-gradient(top,  #cf5d6a,  #a53845);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#cf5d6a', endColorstr='#a53845');
}
.rosy:active {
	color: #dca4ab;
	background: -webkit-gradient(linear, left top, left bottom, from(#bf404f), to(#f16c7c));
	background: -moz-linear-gradient(top,  #bf404f,  #f16c7c);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#bf404f', endColorstr='#f16c7c');
}

/* green */
.green {
	color: #e8f0de;
	border: solid 1px #538312;
	background: #64991e;
	background: -webkit-gradient(linear, left top, left bottom, from(#7db72f), to(#4e7d0e));
	background: -moz-linear-gradient(top,  #7db72f,  #4e7d0e);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#7db72f', endColorstr='#4e7d0e');
}
.green:hover {
	background: #538018;
	background: -webkit-gradient(linear, left top, left bottom, from(#6b9d28), to(#436b0c));
	background: -moz-linear-gradient(top,  #6b9d28,  #436b0c);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#6b9d28', endColorstr='#436b0c');
}
.green:active {
	color: #a9c08c;
	background: -webkit-gradient(linear, left top, left bottom, from(#4e7d0e), to(#7db72f));
	background: -moz-linear-gradient(top,  #4e7d0e,  #7db72f);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#4e7d0e', endColorstr='#7db72f');
}

/* pink */
.pink {
	color: #feeef5;
	border: solid 1px #d2729e;
	background: #f895c2;
	background: -webkit-gradient(linear, left top, left bottom, from(#feb1d3), to(#f171ab));
	background: -moz-linear-gradient(top,  #feb1d3,  #f171ab);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#feb1d3', endColorstr='#f171ab');
}
.pink:hover {
	background: #d57ea5;
	background: -webkit-gradient(linear, left top, left bottom, from(#f4aacb), to(#e86ca4));
	background: -moz-linear-gradient(top,  #f4aacb,  #e86ca4);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4aacb', endColorstr='#e86ca4');
}
.pink:active {
	color: #f3c3d9;
	background: -webkit-gradient(linear, left top, left bottom, from(#f171ab), to(#feb1d3));
	background: -moz-linear-gradient(top,  #f171ab,  #feb1d3);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f171ab', endColorstr='#feb1d3');
}
._buttoni.icon16, ._buttonr.icon16{
    padding-left: 40px;width: auto;height: auto;position: relative;
}
._buttoni.icon16,._buttonr.icon16{position: relative}
._buttoni.icon16 img,._buttonr.icon16 img{position: absolute;top: 4px;left: 20px}